package com.example.springapplicationdemo.handlerexceptionresolver.exception;

public class NewsNotFoundException extends NewsException{
    public static final int ERROR_CODE = BASE_ERROR_CODE - 1;
    public NewsNotFoundException(Long newsId) {
        super(ERROR_CODE, "News " + newsId + " Not Found");
    }
}
